package dastsource;

/**
 * @author DuJiabao
 * @create 2021-01-16 20:59
 */
public class Employee {
    private String lastName;
    private int balance;

    public Employee() {
    }

    public Employee(String lastName, int balance) {
        this.lastName = lastName;
        this.balance = balance;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "lastName='" + lastName + '\'' +
                ", balance=" + balance +
                '}';
    }
}
